package com.zkthink.ceres.member.service.impl;

import com.zkthink.base.service.SuperServiceImpl;
import com.zkthink.ceres.member.dao.MemberPasswordHisMapper;
import com.zkthink.ceres.member.entity.MemberPasswordHis;
import com.zkthink.ceres.member.service.MemberPasswordHisService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Slf4j
@Service
@AllArgsConstructor
@Transactional
public class MemberPasswordServiceImpl extends SuperServiceImpl<MemberPasswordHisMapper, MemberPasswordHis> implements MemberPasswordHisService {
    @Override
    public List<MemberPasswordHis> selectByAccount(String account) {
        return baseMapper.selectByAccount(account);
    }
}
